package com.yowasa.xiuxian.engine.item.zhuangbei.beizi;

import com.yowasa.xiuxian.annoations.Item;
import com.yowasa.xiuxian.engine.item.ItemInterface;
import com.yowasa.xiuxian.entity.bo.user.UserBO;
import com.yowasa.xiuxian.entity.enums.ItemTypeEnum;
import com.yowasa.xiuxian.entity.enums.QualityEnum;


@Item(name = "终幕的时计", type = ItemTypeEnum.WU_QI, price = 10000)
public class ZhongMuShiJi implements ItemInterface {

    private String attrJson = "{" +
            "\"hp\":0," +
            "\"mp\":500," +
            "\"atk\":0," +
            "\"spell\":0," +
            "\"def\":0," +
            "\"res\":0," +
            "\"imm\":0," +
            "\"spd\":0," +
            "\"quality\":0" +
            "}";


    @Override
    public String desc() {
        return "为乐团的演奏计时的沙漏，曾发出利落的声响.如今他们的表演已经落幕。\n增加大量法力值";
    }

    @Override
    public String effect(UserBO userBO) {
//        updateByEquip(userBO,itemAttr);
        return "流程出错";
    }
                             //血，蓝，     物攻，     法攻，    物抗，    法抗，    免疫，    速度
    //{"hp":603,"chp":603,"mp":97,"cmp":97,"atk":26,"spell":14,"def":38,"res":14,"imm":25,"spd":243}
    public String attr(QualityEnum qualityEnum){
        String attr = getAttr(qualityEnum, attrJson);
        return attr;
    }

}

